package org.springblade.wechat.service;

import org.springblade.core.tool.api.R;

import java.util.HashMap;

/**
 * @author LK
 * @version 1.0.0
 * @Title: IMpService.java
 * @Description: TODO    微信公众号服务接口
 * @date 2020/4/7 14:53
 */
public interface IMpService {

	/**
	 * 发送微信公众号模板消息
	 *
	 * @param myWxMpTemplateMessageList
	 * @return
	 */
	R<HashMap<String, Object>> sendWxMpTemplateMessage(String myWxMpTemplateMessageList, String xxlx);

	/**
	 * 根据微信公众号id和用户id获取openId
	 *
	 * @param mpId
	 * @param userId
	 * @return
	 */
	R<String> getOpenIdByMpIdAndUserId(String mpId, String userId);
}
